package com.cl.oauth.service.mapper;

import com.cl.oauth.service.model.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Map;
import java.util.Set;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author csj
 * @since 2020-11-23
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    SysUser getByLoginName(String loginName);

    Set<String> getUserPermission(Map<String, Object> params);
}
